package com.zl.task.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinlingeng
 * @since 2021-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ServiceOrder extends Model<ServiceOrder> {

    private static final long serialVersionUID=1L;
    @TableId(value = "order_code")
    private String orderCode;

    private String orderProduct;

    private String orderMechanism;

    private String orderEnterprised;

    private String orderStatus;

    private Timestamp orderTime;

    private String orderRemarks;

    private String orderCause;


    @Override
    protected Serializable pkVal() {
        return this.orderCode;
    }

}
